package com.tsd.system.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * 角色拥有的数据访问规则
 *
 * @author david
 * @date 2021/07/08 15:49:18
 */
@ApiModel(description = "角色拥有的数据访问规则")
public class SysRoleDataAccessRule implements Serializable {

    @ApiModelProperty(value = "自动增长的数字序号", example = "1")
    private Long id;

    @ApiModelProperty(value = "角色id", example = "1")
    private String role_sid;

    @ApiModelProperty(value = "数据对象sid", example = "1")
    private String data_obj_sid;

    @ApiModelProperty(value = "数据访问规则sid", example = "1")
    private String access_rule_sid;

    @ApiModelProperty(value = "创建日期", example = "1")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
    private Date create_date;

    @ApiModelProperty(value = "创建人", example = "1")
    private String creator_sid;

    @ApiModelProperty(value = "创建人名称", example = "1")
    private String creator_name;

    @ApiModelProperty(value = "删除标志，0-未删除，1-已删除", example = "1")
    private Integer dr;

    @ApiModelProperty(value = "删除时间", example = "1")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
    private Date dr_date;

    @ApiModelProperty(value = "删除人员id", example = "1")
    private String dr_user_sid;

    @ApiModelProperty(value = "删除人名称 ", example = "1")
    private String dr_user_name;


    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getRole_sid() {
        return this.role_sid;
    }

    public void setRole_sid(String role_sid) {
        this.role_sid = role_sid;
    }

    public String getData_obj_sid() {
        return this.data_obj_sid;
    }

    public void setData_obj_sid(String data_obj_sid) {
        this.data_obj_sid = data_obj_sid;
    }

    public String getAccess_rule_sid() {
        return this.access_rule_sid;
    }

    public void setAccess_rule_sid(String access_rule_sid) {
        this.access_rule_sid = access_rule_sid;
    }

    public Date getCreate_date() {
        return this.create_date;
    }

    public void setCreate_date(Date create_date) {
        this.create_date = create_date;
    }

    public String getCreator_sid() {
        return this.creator_sid;
    }

    public void setCreator_sid(String creator_sid) {
        this.creator_sid = creator_sid;
    }

    public String getCreator_name() {
        return this.creator_name;
    }

    public void setCreator_name(String creator_name) {
        this.creator_name = creator_name;
    }

    public Integer getDr() {
        return this.dr;
    }

    public void setDr(Integer dr) {
        this.dr = dr;
    }

    public Date getDr_date() {
        return this.dr_date;
    }

    public void setDr_date(Date dr_date) {
        this.dr_date = dr_date;
    }

    public String getDr_user_sid() {
        return this.dr_user_sid;
    }

    public void setDr_user_sid(String dr_user_sid) {
        this.dr_user_sid = dr_user_sid;
    }

    public String getDr_user_name() {
        return this.dr_user_name;
    }

    public void setDr_user_name(String dr_user_name) {
        this.dr_user_name = dr_user_name;
    }


}
